home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / apps / gmemusage / Makefile < prev    next >
Makefile  |  1994-08-01  |  503b  |  24 lines

  1. #!smake
  2. include ${ROOT}/usr/include/make/commondefs
  3.  
  4. CFILES=gmemusage.c draw.c inode.c print.c process.c
  5. LCOPTS=-fullwarn
  6. TARGETS=gmemusage
  7. LLDLIBS=-lgl
  8. LLDOPTS=-Wl,-T,7FC00000,-D,7FC40000
  9.  
  10. default all: ${TARGETS}
  11.  
  12. include ${COMMONRULES}
  13.  
  14. #
  15. # gmemusage must be setuid root in order to be able to read /proc entries
  16. # for processes not owned by the person running
  17. #
  18. install: ${TARGETS}
  19.     ${INSTALL} -F /usr/local/bin -m 4755 gmemusage
  20.  
  21. gmemusage : ${OBJECTS}
  22.     rm -f $@
  23.     ${CCF} ${OBJECTS} ${LDFLAGS} -o $@
  24.